package org.linlinjava.litemall.admin.vo.locks;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author wj
 * @date 2021/8/11 17:57
 */
public class ChangeControlStateVo {

    @Size(min = 1,message = "控制器id不能为空")
    private List<Integer> idList;

    @Length(max = 145,message = "维护理由不能超过145字")
    private String reason;

    @NotNull(message = "状态不能为空")
    private Integer type;

    public List<Integer> getIdList() {
        return idList;
    }

    public void setIdList(List<Integer> idList) {
        this.idList = idList;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
